class AddMoreContactInfo < ActiveRecord::Migration
  def self.up    
    add_column :users, :position, :string
    add_column :sites, :phone, :string    
    add_column :submissions, :total_cost, :float, :default => -1
    add_column :submissions, :manager_id, :integer
    add_column :cycles, :budget_amount, :float    
    add_column :users, :last_login, :datetime
  end

  def self.down   
    remove_column :users, :position
    remove_column :sites, :phone 
    remove_column :submissions, :total_cost
    remove_column :submissions, :manager_id
    remove_column :cycles, :budget_amount          
    remove_column :users, :last_login
  end
end
